/*******************************************************************************

Replication code for:

	"Beyond Borders: Does Firm-Level Exposure to State and Local Paid Sick Leave 
	Mandates Lead to Policy Diffusion?"

	Daniel Schneider, Harvard University

	Kristen Harknett, UC San Francisco

	Journal of Policy Analysis & Management

	September 2025
	
	
CREATES: all figures + tables except for Figure 3 & Appendix Figure 1 (created in run_all_R_exhibits.R)
	
MUST UPDATE LINE 27 BEFORE RUNNING

*******************************************************************************/

clear all
cls

*****
global system_prefix "UPDATE" // UPDATE TO PROPERLY CONFIGURE FILEPATHS BELOW!
*****

* establishing paths to data, code, and results folders
global rep_package "$system_prefix/replication_package" 
global data_path "$rep_package/data" // path to analysis files
global code_path "$rep_package/code/individual_Stata_exhibit_code" // path to .do & .R files producing each exhibit
global exhibits_path "$rep_package/results/exhibits" // path to folder where exhibits are saved


********************************************************
*** running .do files to generate tables and figures ***
********************************************************

*Figure 1 is generated manually by mapping software: data collected from https://www.abetterbalance.org/paid-sick-time-laws/.

*Figure 2
do "$code_path/Figure 2.do"

*Figure 3 is generated using R: see run_all_R_exhibits.R

*Table 1
do "$code_path/Table 1.do"

*Table 2
do "$code_path/Table 2.do"

*Table 3
do "$code_path/Table 3.do"

*Appendix Figure 1 is generated using R: see run_all_R_exhibits.R

*Appendix Figure 2
do "$code_path/Appendix Figure 2.do"

*Appendix Figure 3
do "$code_path/Appendix Figure 3.do"

*Appendix Figure 4
do "$code_path/Appendix Figure 4.do"

*Appendix Figure 5
do "$code_path/Appendix Figure 5.do"

*Appendix Table 1
do "$code_path/Appendix Table 1.do"

*Appendix Table 2
do "$code_path/Appendix Table 2.do"

*Appendix Table 3
do "$code_path/Appendix Table 3.do"

*Appendix Table 4
do "$code_path/Appendix Table 4.do"

*Appendix Table 5
do "$code_path/Appendix Table 5.do"

*Appendix Table 6
do "$code_path/Appendix Table 6.do"

*Appendix Table 7
do "$code_path/Appendix Table 7.do"